//var Checkbox = UcsmyUI.Checkbox;
var Checkbox = require('../../../src/libs/checkbox');
var Root = React.createClass({
    handler: function() {
        console.log('点击事件');
    },
    render:function(){
        return (
            <div>
                <h2>复选框 Checkbox</h2>
                <Checkbox checked id='checkbox1' value="复选框1" text="协议书" />
                <Checkbox checked id='checkbox2' value="复选框2" onclick={this.handler}/>
            </div>
        )
    }
});
ReactDOM.render(<Root/>,document.getElementById('main'));